package com.clj.blesample;

/**
 * Created by SEELE on 2018/1/16.
 */

public interface Rp8Commond {
    String HEX_COMMOND_START = "55AA";
    String HEX_COMMOND_TYPE_GET = "13"; // 向蓝牙设备发出请求
    String HEX_COMMOND_TYPE_NOTIFICATION = "12";//Notification 设备蓝牙主动推送报文类型
    //String HEX_COMMOND_TYPE_RESPONSE = "14";	//Response	蓝牙设备返回的报文请求

    String HEX_COMMOND_DATA_LENGTH = "02";//此协议get 命令data 长度都是3个字节


    String HEX_REQUEST_FIRST = HEX_COMMOND_START + "01" + "11" ;
    String HEX_REQUEST_VERSION = "55AA021600";
    String HEX_COMMOND_NOTIFY_START = HEX_COMMOND_START + HEX_COMMOND_DATA_LENGTH + HEX_COMMOND_TYPE_NOTIFICATION;

    //String HEX_COMMOND_RESPONSE_START = HEX_COMMOND_START + HEX_COMMOND_DATA_LENGTH + HEX_COMMOND_TYPE_RESPONSE;
}
